#!/usr/bin/env python
# -*- coding: utf-8 -*-

from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # appfirstuse
    url(r'^appfirst','appfirst.views.index',name='home'),
    url(r'^add/$','appfirst.views.add',name='add'),
    url(r'^ad/(\d+)/(\d+)/$','appfirst.views.ad',name='ad'),
   
    #appseconduse 指定默认首页 url(r'^$','appsecond.views.index',name='index'),
    url(r'^$','appsecond.views.index',name='index'),
    url(r'^m1/$','appsecond.views.m1',name='m1'),
    url(r'^m2/$','appsecond.views.m2',name='m2'),
    url(r'^m3/$','appsecond.views.m3',name='m3'),

    
    # url(r'^$', 'dfirst.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
)
